# -*- mode: snippet -*-
# name: $rootScope.$on('$stateChangeSuccess', ...);
# key: aon.
# group: angular
# --
$rootScope.$on('$stateChangeSuccess', function (event, toState, toParams, fromState, fromParams) {
  $0
});